package com.xcity.db.entity;

import java.util.Date;

/**
 * 邀请信息
 * @author yang.li
 *
 */
public class Invite {

	private int id;
	private long inviter; // 邀请者
	private long invitee; // 被邀请者
	private Date time;
	
	public Invite() {}
	
	public Invite(long inviter, long invitee) {
		this.inviter = inviter;
		this.invitee = invitee;
		this.time = new Date();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public long getInviter() {
		return inviter;
	}

	public void setInviter(long inviter) {
		this.inviter = inviter;
	}

	public long getInvitee() {
		return invitee;
	}

	public void setInvitee(long invitee) {
		this.invitee = invitee;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}
}
